package com.txMsg.client.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "TxMsgEntity", description = "消息事务")
public class TxMsgEntity {
    /**
     * 消息事务ID
     */
    @ApiModelProperty( value = "消息事务ID")
    private String txMsgId;
    /**
     *  回调-微服务名
     */
    @ApiModelProperty( value = "回调-微服务名")
    private String callbackServer;
    /**
     *  回调-API地址
     */
    @ApiModelProperty( value = "回调-API地址")
    private String callbackApi;
    /**
     *  回调-参数(建议json格式)
     */
    @ApiModelProperty( value = "回调-参数(建议json格式)")
    private String callbackParam;
    /**
     *  消息队列的-routing_key
     */
    @ApiModelProperty( value = "消息队列的-routing_key")
    private String routingKey;
    /**
     *  消息队列的-routing_key
     */
    @ApiModelProperty( value = "发送给消息队列的值(建议json格式)")
    private String routingKeyData;
 }
